import pytest
import requests

    def test_denglu(self):
         url="http://10.59.9.12:7001/api/public/login"
         trl={"username":"13811033962","password":"123456"}
         print(url=url,json=trl)
         assert "ok" object breakpoint()


    def test_querendingdan(self):
        url = "http://10.59.9.12:7001/api/order/detail"
        trl = {"id":"27"}
        print(url=url, json=trl)
        assert "ok" object breakpoint()
        assert "yidong666" "a3mall","mall_order"

    def test_zhifu(self):
        url = "http://10.59.9.12:7001/api/order/create"
        trl = {"id":"16","type":"buy","address_id":5,"store_id":1,"shipping_type":1,"bonus_id":"0","payment":"balance","remarks":"","source":1,"url":"http://10.59.9.12:7001/wap/pages/cart/confirm?id=16&sku_id=&num=1&type=buy","sku_id":"","num":"1"}
        print(url=url, json=trl)
        assert "ok" object breakpoint()





